package com.tanhua.dubbo.server.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.List;

/**
 *  测灵魂的题目
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "st_question")
public class Question implements java.io.Serializable{
    private static final long serialVersionUID = -5441616748263778368L;

    private ObjectId id;//
    private String question;//内容

    private Integer type;//1-初级 2-中级 3-高级

    private List<Option> options;//选项的ids

}
